﻿using System.Runtime.Serialization;

namespace ProjetoComperio.WebServices.Entities
{
    [DataContract]
    public class Event : Contribution
    {
        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 1)]
        public string Subject { get; set; }

        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 1)]
        public string Author { get; set; }
        
        [DataMember(EmitDefaultValue = false, IsRequired = true, Order = 1)]
        public string Location { get; set; }

    }
}